<template>
  <div class="teleport">
      teleport
     <!-- <teleport> -->
          <div>{{ count }}</div>
      <button @click="increment">+1</button>
     <!-- </teleport> -->
  </div>
</template>

<script>
import { ref } from 'vue'
export default {
  setup () {
    const count = ref(0)
    const increment = () => {
      count.value++
    }
    return {
      count,
      increment
    }
  }
}
</script>

<style>

</style>
